﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Slf.Samples.DefaultLoggerDeclaration
{
  class Program
  {
    static void Main(string[] args)
    {
      Console.ForegroundColor = ConsoleColor.Green;
      Console.Out.WriteLine("The configuration of SLF was made entirely in App.config.\n\n");
      Console.ResetColor();


      //this will be logged to the console, as configured in app.config
      ILogger logger = LoggerService.GetLogger();
      logger.Info("Logging through the configured logger.");

      Console.ReadLine();
    }
  }
}